package org.jing.r18.game.comm.bmp;

import org.jing.core.lang.annotation.SerializableField;
import org.jing.core.lang.annotation.SerializableType;
import org.jing.core.lang.data.BaseSerializableDto;

/**
 * Description: <br>
 *
 * @author: bksmate <br>
 * @createDate: 2025-05-13 <br>
 */
@SerializableType
public class BMPFileHeader extends BaseSerializableDto {
    // 2字节，"BM"
    @SerializableField
    private String signature;

    // 4字节，文件大小
    @SerializableField
    private int fileSize;

    // 4字节，保留字
    @SerializableField
    private int reserved;

    // 4字节，图像数据偏移量
    @SerializableField
    private int dataOffset;

    public String getSignature() {
        return signature;
    }

    public void setSignature(String signature) {
        this.signature = signature;
    }

    public int getFileSize() {
        return fileSize;
    }

    public void setFileSize(int fileSize) {
        this.fileSize = fileSize;
    }

    public int getReserved() {
        return reserved;
    }

    public void setReserved(int reserved) {
        this.reserved = reserved;
    }

    public int getDataOffset() {
        return dataOffset;
    }

    public void setDataOffset(int dataOffset) {
        this.dataOffset = dataOffset;
    }
}
